package com.sugon.custom.service;

import com.sugon.custom.bean.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;

public class HelloService {
    @Autowired
    HelloProperties helloProperties;
    public String sayHello(String userName){
        return helloProperties.getPerfix() + userName + helloProperties.getSuffix();
    }
}
